package com.qfjy.homework.lixuefeng;

public class ConcreteFactory implements Factor{
    public Rectangle factoryMethod(double length, double width, double height) {
        return new Rectangle(length,width,height);
    }

    @Override
    public Rectangle factoryMethod() {
        return new Rectangle();
    }

}
